﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace ProductionLine.Modules.ShareLib.Ucs {
    /// <summary>
    /// DataShowControl.xaml 的交互逻辑
    /// </summary>
    public partial class DataShowControl : UserControl {
        public DataShowControl() {
            InitializeComponent();
        }


        public string KeyName {
            get { return (string)GetValue(KeyNameProperty); }
            set { SetValue(KeyNameProperty, value); }
        }

        // Using a DependencyProperty as the backing store for KeyName.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty KeyNameProperty =
            DependencyProperty.Register("KeyName", typeof(string), typeof(DataShowControl), new PropertyMetadata(string.Empty));


        public string TContent {
            get { return (string)GetValue(TContentProperty); }
            set { SetValue(TContentProperty, value); }
        }

        // Using a DependencyProperty as the backing store for TContent.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty TContentProperty =
            DependencyProperty.Register("TContent", typeof(string), typeof(DataShowControl), new PropertyMetadata(string
                .Empty));



        public string KeyValue {
            get { return (string)GetValue(KeyValueProperty); }
            set { SetValue(KeyValueProperty, value); }
        }

        // Using a DependencyProperty as the backing store for KeyValue.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty KeyValueProperty =
            DependencyProperty.Register("KeyValue", typeof(string), typeof(DataShowControl), new PropertyMetadata(string
                .Empty));





    }
}
